import java.util.LinkedHashMap;
import java.io.PrintWriter;
import antlr.collections.AST;
 
class Sim2dRule extends Sim2dDataType {
    AST body;

    public Sim2dRule( String inname , AST inbody) {
		  super(inname);
		  body = inbody;
    }

    public String typename() {
        return "rule";
    }

//    public Sim2dDataType copy() {
//        return new Sim2dRule( var );
//    }

    public AST getBody() {
        return body;
    }

	 public String toString() {
		 String str = typename() + " " + name;
		 return str;
	 }

}
